package com.md.api.entity;

import lombok.Data;

import java.util.Date;

@Data
public class CouponInfo {

    private Integer id;

    private String couponId;
    //优惠券方式  1折扣券  2现金券
    private Integer couponWay;

    private Integer obtainWay;
    //使用场景  1点单  2商城  3点单/商城
    private Integer useWay;

    private String couponName;

    private String rules;
    //优惠券类型  1入门折扣券、2产品折扣券、3新品体验券、4活动折扣券、5充值折扣券  6生日折扣券
    private Integer couponType;

    private Integer isRedeem;

    private Double requirePoint;

    private Double lowerMoney;

    private Double discount;

    private Integer validityDay;

    private Integer status;

    private Integer isForever;

    private String shoppingSpuIds;

    private Date createTime;

    private Date updateTime;

}